
        <HTML>
		<HEAD>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<meta name="description" content="Flash MX 2004 ActionScript2.0 Library: Intersect3D - Wright Internet Solutions">
		<meta name="keywords" content="geometry,Intersect3D,Flash,MX,2004,ActionScript,ActionScript2.0,AS2.0 Library,AS2,AS2 Library,Wright Internet Solutions,Wright,class,documentation,methods,functions,interfaces,JavaScript,Java">
		<TITLE>WIS AS2 Library : com.wis.math.geom.intersect3D.Intersect3D Documentation</TITLE>

		<STYLE><!--
		HR.small{height:1px; width:100%; background:#E7BFA3; border: 0px;}
		HR.big{height:4px; width:100%; background:#E7BFA3; border: 0px;}
		A:hover{text-decoration: underline}
		A{text-decoration: none; color: #993333}
		code{font-family: monospace; font-size: 12px; color: #666666;}
		.methodAttributesTitle{font-size: 12px; font-weight: bold; color: #7B779C}
		.ToC{font-size: 12px; font-weight: bold; color: #993333}
		.methodTitle{font-size: 14px; font-weight: bold; color: #993333}
		.groupTitle{font-size: 18px; font-weight: bold; color: #993333}
		.sectionTitle{font-size: 22px; font-weight: bold; color: #993333}
		.majorTitle{font-size: 32px; font-weight: bold; color: #993333; padding-bottom:100px;}
		.methodsDiv{margin-left:40px;}
		.footer{font-size: 11px; color: #666666;}
		body{font-family: arial,sans-serif; font-size: 12px;}
		//--></STYLE>

		</HEAD>
		<BODY bgColor='#ffffcc'>
		<P class='majorTitle'>com.wis.math.geom.intersect3D.Intersect3D Documentation</P>


		<P><B>Author:</B> <a href='mailto:wisolutions2002@shaw.ca?subject=wisASLibrary Intersect3D Class'>Richard Wright</a><BR>
		<B>Last Modified:</B> 08/03/04 00:58:54<HR class='big'>

		<P class='sectionTitle'>Summary</P>
		<P class='ToC'>com.wis.math.geom.intersect3D.Intersect3D class:</P>
		<div class='methodsDiv'><a href='#classinfo'>- description</a></div>
<P class='ToC'>com.wis.math.geom.intersect3D.Intersect3D Properties:</P><div class='methodsDiv'>
<a href='#$objects'>- $objects</a><br>
<a href='#$transform'>- $transform</a><br>
<a href='#$boundedBy'>- $boundedBy</a><br>
<a href='#$infiniteBounds'>- $infiniteBounds</a><br>
<a href='#$volumeOutsideOfBounds'>- $volumeOutsideOfBounds</a><br>
</div><br>
<P class='ToC'>com.wis.math.geom.intersect3D.Intersect3D Methods:</P><div class='methodsDiv'>
<a href='# copy'>-  copy</a><br>
<a href='# initialize'>-  initialize</a><br>
<a href='# findIntersectionsUntransformed'>-  findIntersectionsUntransformed</a><br>
<a href='# isPointInsideUntransformed'>-  isPointInsideUntransformed</a><br>
<a href='# getNormalAtUntransformed'>-  getNormalAtUntransformed</a><br>
</div><br>

		<HR class='big'>
		<P class='sectionTitle'><A name='classinfo'></A>com.wis.math.geom.intersect3D.Intersect3D <I>class</I></P>
		<P> <span class='methodTitle'>version:</span> 1.7</P>
		<P class="methodTitle">description:</P>
		<P>Implements the behaviours of the Intersect3D Class.
 <p>
 		        Provides methods for the IObj interface based on JS RayTracer2 by
 John Haggerty.
 </P>
		<P class="methodTitle">usage:</P> <pre>var inst:Intersect3D = new Intersect3D(objects);</pre>

<P> <span class='methodTitle'>parameters:</span>
				<ul>
<li>      objects (Array)   -- a list of shape objects.</li>
</ul>

			<HR class='small'>
			<P class='groupTitle'><A name='properties'></A>com.wis.math.geom.intersect3D.Intersect3D Properties:</P>
			<div class='methodsDiv' >


				<P class='methodTitle'><A name='$objects'></A><u> $objects</u></P>
				<P> (Array)    -- a list of shape objects.</P>

				<P class='methodTitle'><A name='$transform'></A><u> $transform</u></P>
				<P> (Transformation)  -- a Transformation object.</P>

				<P class='methodTitle'><A name='$boundedBy'></A><u> $boundedBy</u></P>
				<P> (Box)  -- a bounding box object.</P>

				<P class='methodTitle'><A name='$infiniteBounds'></A><u> $infiniteBounds</u></P>
				<P> (Boolean)  -- default is 'false', inherited from super.</P>

				<P class='methodTitle'><A name='$volumeOutsideOfBounds'></A><u> $volumeOutsideOfBounds</u></P>
				<P> (Boolean)  -- default is 'false', inherited from super.</P>
</div>

			<HR class='small'>
			<P class='groupTitle'><A name='methods'></A>com.wis.math.geom.intersect3D.Intersect3D Methods:</P>
			<div class='methodsDiv' >


				<P class='methodTitle'><A name=' copy'></A><u>  copy</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Copies super's properties with its 'copyModifiers' method.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst.copy();</pre>
     </P>
<P><span class='methodAttributesTitle'>returns:</span> (Obj)  -- returns a new Sphere object populated with super's properties.
    </P>

				<P class='methodTitle'><A name=' initialize'></A><u>  initialize</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Initializes this instance's bounding box and its super's low-level properties,
     and defines $transform, $boundedBy, $infiniteBounds, and
     $volumeOutsideOfBounds properties.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst.initialize();</pre>
     </P>
<P><span class='methodAttributesTitle'>returns:</span> (Void)
    </P>

				<P class='methodTitle'><A name=' findIntersectionsUntransformed'></A><u>  findIntersectionsUntransformed</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Calculates enter and exit intersections, if any, defined by 'ray' tracer.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst.findIntersectionsUntransformed(ray);</pre>
     </P>
<P> <span class='methodAttributesTitle'>parameters:</span><ul>
<li>  ray   (Ray)  -- tracer object that defines its point and direction in 3-space.</li>
</ul></P>
<P><span class='methodAttributesTitle'>returns:</span> (Array)  -- returns a list of Intersection objects, or an empty list.
    </P>

				<P class='methodTitle'><A name=' isPointInsideUntransformed'></A><u>  isPointInsideUntransformed</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Tests whether passed 'pos' Vector object is inside this instance.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst.isPointInsideUntransformed(pos);</pre>
     </P>
<P> <span class='methodAttributesTitle'>parameters:</span><ul>
<li>  pos   (Vector)  -- a position Vector object.</li>
</ul></P>
<P><span class='methodAttributesTitle'>returns:</span> (Boolean)
    </P>

				<P class='methodTitle'><A name=' getNormalAtUntransformed'></A><u>  getNormalAtUntransformed</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Defines the normal to the passed 'pos' Vector object.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst.getNormalAtUntransformed(pos);</pre>
     </P>
<P> <span class='methodAttributesTitle'>parameters:</span><ul>
<li>  pos   (Vector)  -- a position Vector object.</li>
</ul></P>
<P><span class='methodAttributesTitle'>returns:</span> (Vector)  -- returns normal of untransformed vector.
    </P>
</div>

			<BR>
			<BR>
			<HR class='big'>
			<span class="footer">generated with <A href='http://blog.klaustrofobik.org/' target='_blank'>AS2docGenerator beta 0.5.3</A></span>
			</BODY>
			</HTML>

